package org.tinygroup.managemenu.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by wangwy on 2016/10/10.
 */
@Controller
@RequestMapping("/sysdemo")
public class DemoAction {
    @RequestMapping(value = "/{id}/manage")
    public String execute(@PathVariable("id")String id,Model model) {
        model.addAttribute("id",id);
        return "biz/demo/menu";
    }
}
